﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using FM.校时.服务端.ViewModels;
using System.ServiceModel;

namespace FM.校时.服务端.Views
{
    /// <summary>
    /// 主窗口.xaml 的交互逻辑
    /// </summary>
    public partial class 主窗口 : Window
    {
        public 主窗口()
        {
            InitializeComponent();

          
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
           //initialize the service with a reference to this window
            I系统时间 时间服务1 = new 系统时间1();
            //start the service
            时间服务主机.启动服务(时间服务1);
        }
    }
}
